package com.dxw.jenkinstest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
@SpringBootApplication
public class JenkinsTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(JenkinsTestApplication.class, args);
        System.out.println("11111111111111111111111111111111111111111111111111");
    }


    @GetMapping()
    public String hello() {
        return "你好啊111111111111";
    }

    @GetMapping("/hello")
    public String hello2() {
        return "嘿嘿嘿，小伙子，还看，看你个崔子";
    }
}
